package com.io.demo;

public class Test {

	public static void main(String[] args) {
		
		String a = "abacde";
		int index = a.lastIndexOf("a");
		a = a.substring(index+1);
		System.out.println(a);

	}

}
